package com.nancy.springioc.bean.factory;

/**
 * 用来封装bean标签的数据
 * id：
 * class：
 * property：
 */
public class BeanDefinition {
    private String id;
    private String className;
    private MutablePropertyValue propertyValue;

    public BeanDefinition() {
        propertyValue = new MutablePropertyValue();
    }

    public BeanDefinition(String id, String className) {
        this.id = id;
        this.className = className;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public MutablePropertyValue getPropertyValue() {
        return propertyValue;
    }

    public void setPropertyValue(MutablePropertyValue propertyValue) {
        this.propertyValue = propertyValue;
    }
}
